package com.sgj.common.constant;

/**
 * @Author: Guoji Shen
 * @Date: 2021/10/25 9:46
 */
public class RabbitConstant {

    public static final String STOCK_DELAY_QUEUE = "stock.delay.queue";

    public static final String ORDER_DELAY_QUEUE = "order.delay.queue";

    public static final String STOCK_RELEASE_QUEUE = "stock.release.stock.queue";

    public static final String ORDER_RELEASE_QUEUE = "order.release.order.queue";

    public static final String STOCK_EXCHANGE = "stock-event-exchange";

    public static final String ORDER_EXCHANGE = "order-event-exchange";

    public static final String ROUTING_KEY_RELEASE = "stock.release";

    public static final String ROUTING_KEY_LOCKED = "stock.locked";

    public static final String ROUTING_KEY_ORDER_CREATE = "order.create.order";

    public static final String ROUTING_KEY_ORDER_RELEASE = "order.release.order";

    public static final String ROUTING_KEY_ORDER_RELEASE_OTHER = "order.release.other";
}